package com.empire.module.member.controller.admin.superrelationnode.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 超级关系--节点信息新增/修改 Request VO")
@Data
public class SuperRelationNodeSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27859")
    private Long id;

    @Schema(description = "节点ID", example = "4193")
    private String nodeId;

    @Schema(description = "所属重点人ID", example = "4965")
    private Long personId;

    @Schema(description = "节点名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "节点名称不能为空")
    private String nodeName;

    @Schema(description = "节点类型", example = "1")
    private String nodeType;

    @Schema(description = "头像地址")
    private String avatar;

    @Schema(description = "其他信息")
    private String otherInformation;

    @Schema(description = "节点方向")
    private String nodeDirection;

}